package cn.edu.ctbu.test.aspect;


import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component
@Aspect
@Slf4j
public class HttpAspect {

    @Before("execution(public * cn.edu.ctbu.test.service.StudentService.*(..))")
    public void log(){
        System.out.println("我执行了！！");
    }
}
